package Studentmax;
import java.util.ArrayList;
import java.util.Scanner;

public class StdentClassesManagement {public static void main(String[] args) {
    ArrayList<Student> studentArrayList=new ArrayList<>();
    Scanner scanner=new Scanner(System.in);
    do{
        System.out.println("===========学生管理系统============");
        System.out.println("==========1、录入学生信息==========");
        System.out.println("==========2、删除学生信息==========");
        System.out.println("==========3、查看学生信息==========");
        System.out.println("==========3、查看学生信息==========");
        System.out.println("=======0、退出学生管理系统==========");
        int choose=scanner.nextInt();
        switch (choose){
            case 0://退出
                System.exit(0);

                break;
            case 1:
                StudentClasses.ADD_STUDENT(studentArrayList);
                break;
            case 2:
                StudentClasses.DELETE_STUDENT(studentArrayList);
                break;
            case 3:
                StudentClasses.View_STUDENT(studentArrayList);
                break;
            default:
                System.out.println("选择错误，请重新选择");
                break;
        }

    }while (true);


}
}
